package com.srwl.mytx.domain;


import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

/**
 * Created by dahai2070 on 2018/5/19 0019.
 */

public class LbsModel {
    private String id;
    private String title;
    private Float[] location;
    private Date createTime;
    private String address;
    private String city;
    private String province;
    //Poi所属区
    private String district;
    private int coordType;
    //标签
    private String tags;
    //距离
    private int distance;
    //权重
    private int weight;
    //    内容	content	string
    private String content;
    //    头像	avatar	在线图片URL
    private String avatar;
    //    类型	type	Int64
    private int type;
    //    状态	status	Int64
    private int status;
    //    云检索ID		string
    private String uid;
    //    图片	images	在线图片URL
    private String[] images;

    public LbsModel() {
    }

    public LbsModel(String id, String title, Float[] location, Date createTime, String address, String city, String province, String district, String content, String avatar, int type, int status, String uid, String[] images) {
        this.id = id;
        this.title = title;
        this.location = location;
        this.createTime = createTime;
        this.address = address;
        this.city = city;
        this.province = province;
        this.district = district;
        this.content = content;
        this.avatar = avatar;
        this.type = type;
        this.status = status;
        this.uid = uid;
        this.images = images;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Float[] getLocation() {
        return location;
    }

    public void setLocation(Float[] location) {
        this.location = location;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String[] getImages() {
        return images;
    }

    public void setImages(String[] images) {
        this.images = images;
    }
    @JSONField(name = "coord_type")
    public int getCoordType() {
        return coordType;
    }

    @JSONField(name = "coord_type")
    public void setCoordType(int coordType) {
        this.coordType = coordType;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public int getDistance() {
        return distance;
    }

    public void setDistance(int distance) {
        this.distance = distance;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }
}
